<%@page import="bean.FmMemberDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Insert title here</title>

<link rel='stylesheet' href='./css/join.css' />
<script src = './js/member.js'></script>

</head>
<body>
	<jsp:useBean id="vo" class = "bean.FmMemberVO"/>
	<jsp:setProperty property="*" name="vo"/>
	
	
	<div class = 'content'>
		<div class = 'inputContent'>
		<%
			FmMemberDTO dto = new FmMemberDTO();
			dto.setVo(vo);
			boolean b = dto.delete();
			
			if(b){
		%><div align="center">[<%=vo.getMid()%>]님의 탈퇴가 정상적으로 되었습니다.</div><p/>
			<div align="center">감사합니다.</div><%
			
			}else{
				%><div align="center">회원탈퇴를 실행하는 도중에 오류가 발생했습니다.</div><%
			}
		%>
		</div>
		<div class = 'btnall' align ='center'>
			<input type = 'button' id = 'btnMain' value = '확 인'/>
		</div>
	</div>




</body>

<script type="text/javascript">deleteInit();</script>

</html>